package com.quick.calcu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quick.calcu.entity.Student;

import java.util.List;

public interface StudentService extends IService<Student> {
    /**
     * 根据班级ID查询学生
     */
    List<Student> getStudentsByClassId(Long classId);

    /**
     * 根据用户ID查询学生
     */
    Student getByUserId(Long userId);

    long getUserIdByStudentId(Long studentId);
}